﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="basePath" value="${pageContext.request.contextPath}" scope="application" />
<head>
<title>问题列表</title>
<style type="text/css">
	.form-control{
		width: 100px !important;
	}
	.customWidth{
		width: 200px !important;
	}
	tr {
		text-align: center;
		vertical-align: middle;
	}
	td{
		vertical-align: middle !important;
	}
</style>
<script type="text/javascript" src="/static/js/problem.js"></script>
<script type="text/javascript"></script>
</head>
<body>
<div class="container">
<div class="row clearfix">
	<div class="col-md-12 column" style="margin-top: 50px;">
		<form id="memberForm" name="memberForm" action="${basePath}/compare/query" method="post" class="form-inline" role="form">
			<input id="pageNo" name="pageNo" type="hidden" value="1"></input>
			<input id="totalPage" name="totalPage" type="hidden" value="1"></input>
			<div style="margin-top: 10px;" class="pull-left" >
				<label style="margin-left:20px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;标题：</label>
				<input type="text" id="title" name="title" class="customWidth form-control">
				&nbsp;&nbsp;&nbsp;&nbsp;
				<a style="margin-left:20px;" class="btn btn-danger" onclick="javascript:queryMemberInfo(1);">查询</a>
			</div>
		</form>
	</div>
	<div class="col-md-12 column" style="margin-top: 20px;">
		<table align="center" class="table table-bordered table-condensed table-hover">
			<thead>
				<tr>
					<th style='text-align:center'>系统</th>
					<th style='text-align:center'>标题</th>
					<th style='text-align:center'>正文</th>
					<th style='text-align:center'>操作</th>
				</tr>
			</thead>
			<tbody id="tableBody">
			</tbody>
		</table>
		<div align="right">
			<div id="pageArea" class="col-xs-12">
				<a id="firstPage" href="javascript:queryMemberInfo(0,'first');" style="margin-right:10px">
					首页
				</a>
				<a id="prePage" href="javascript:queryMemberInfo(0,'prev');" style="margin-right:10px">
					上一页
				</a>
				<span id="pageInfo"></span>
				<a id="nextPage" href="javascript:queryMemberInfo(0,'next');" style="margin-left:10px">
					下一页
				</a>
				<a id="endPage" href="javascript:queryMemberInfo(0,'end');" style="margin:0 10px">
					尾页
				</a>
				<label style="margin-left:10px;">转到</label>
				<input id="toPage" name="toPage" type="text"  style="width:30px">&nbsp;页
			</div>
		</div>
	</div>
</div>
</div>
</body>
